home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
El Mac 9
/
El Mac 9.iso
/
Shareware
/
Demos
/
Igor Demo Pro
/
1 PutContentsIn Igor Pro Folder
/
WaveMetrics Procedures
/
Utilities
/
String Utilities
/
NewString
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1994-02-18
|
334 b
|
26 lines
|
[
TEXT/IGR0
]
| This function generates a string of the desired length. It is typically used
| with the FBinRead operation.
|
Function/S NewString(n)
variable n
String str1=""
do
if( n < 10 )
break
endif
str1 += "0123456789"
n -= 10
while(1)
do
if( n < 1 )
break;
endif
str1 += "A"
n -= 1
while(1)
return str1
end